<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>水波纹效果</title>
  <style>
    *{
      margin: 0 ;
      padding: 0;
    }
    body{
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      background-image: linear-gradient(rgb(90,90,250), rgb(3,3,110));
    }
    .container, .mave{
      width: 200px;
      height: 200px;
      border-radius: 50%;
    }
    .container{
      border: 3px solid darkturquoise;
      padding: 10px;
    }
    .mave{
      position: relative;
      background-color: skyblue;
      /* overflow: hidden; */
    }
    .mave::before{
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      width: 300px;
      height: 300px;
      background-color: rgba(255,255,255,.8);
      border-radius: 40%;
      transform: translate(-50%,-60%);
      animation: mave 5s linear infinite;
    }
    .mave::after{
      content: 'oceanball';
      position: absolute;
      top: 30px;
      left: 50%;
      text-transform: uppercase;
      color: darkturquoise;
      font-weight: 700;
      transform: translate(-50%, 0);
    }
    @keyframes mave{
      100%{
        transform: translate(-50%,-60%) rotate(360deg);
      }
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="mave"></div>
  </div>
</body>
</html>
